package com.team.cloudsharing.ultis;

import com.sun.jersey.core.util.Base64;

public class FileConvert {
	
	public static byte[] convertBase64ToByte(String fileInBase64) {
		return Base64.decode(fileInBase64);
	}
	
	public static String convertByteToBase64(byte[] fileInByte) {
		return new String(Base64.encode(fileInByte));
	}
}
